<?php

namespace app\common\behavior;

use think\Exception;
use think\Request;

//
class AppEnd
{

    public function run($params)
    {
       //日志记录
       $listenOperateClass = '\\plugins\\log\\lib\\ListenOperate';
       //$listenOperateClass = '';
       if( class_exists( $listenOperateClass ) ){
           $obj = new $listenOperateClass();
           if( method_exists( $obj , "start" )){
               //执行操作
               $obj->start( $params );
           }
       }
       
       // other operate...
       
       
       
    }

}
